//
//  NHTTPDefine.h
//  News
//
//  Created by zhangtao on 2018/11/9.
//  Copyright © 2018 zt.td. All rights reserved.
//

#ifndef NHTTPDefine_h
#define NHTTPDefine_h

#define baseUrl @"http://testappapi.diandianmeijia.com"
#define updateUrl @"http://test.diandianmeijia.com"
#define ImageUrl @"http://testimg.diandianmeijia.com/"

#define HTTP_GET_LOGIN_CODE @"/api/SMSCode/SendLoginSMSCode" //获取登录验证码
#define HTTP_SMSCODE_CHECK @"/api/SMSCode/Check" //检查验证码是否正确
#define HTTP_LOGIN @"/api/Subscriber/Login" //登录
#define HTTP_REGIST @"/api/Subscriber/Register" //注册
#define HTTP_GET_SUMMARY @"/api/Subscriber/GetSubscriberSummary" //获取用户概要
#define HTTP_GET_USERSETTING @"/api/Subscriber/GetUserSetting" //获取用户设置

#define HTTP_ARTICLE_LIST  @"/api/Article/GetArticleList" //获取文章列表
#define HTTP_GET_HOT_24H @"/api/Article/GetHotArticlesOf24h" //获取24小时热门文章
#define HTTP_GET_MY_FOCE_LIST @"/api/Article/GetArticleListOfMyFollowTopic" //获取我关注主题下的文章列表(多个以,号分带了)
#define HTTP_GET_ARTICLE_BY_TOPICAL @"/api/Article/GetArticlesByTopical" //获取某个主题下的文章
#define HTTP_ARTICLE_DETAIL @"/api/Article/ViewArticle" //查看文章
#define HTTP_GET_ARTICLE_WAIT @"/api/Article/GetArticleListOfWaitCheck" //获取某个主题下待审核文章
#define HTTP_GET_HOT_TOPICALS @"/api/Topical/GetHotTopicals"  //获取热门主题
#define HTTP_GET_NEWS_TOPICALS @"/api/Topical/GetNewestTopicals" //获取最新主题
#define HTTP_GET_FOLLOW_TOPICALS @"/api/Topical/GetFollowTopicOfSubscriber" //获取某个用户所关注的主题
#define HTTP_FOLLOW_TOPICAL @"/api/Topical/FollowTopical" //关注主题
#define HTTP_CANCEL_TOPICAL @"/api/Topical/CancelFollowTopical" //取消关注主题
#define HTTP_DELETE_TOPICAL @"/api/Topical/DeleteTopical" //删除主题
#define HTTP_GET_TOPICAL_SUMMARY @"/api/Topical/GettopicalSummary" //获取主题概要

#define HTTP_POST_Community_UploadHeadPic @"/api/Community/UploadHeadPic"//用户头像上传

#define HTTP_GET_TOPICAL_GetFollowTopicOfSubscriber @"/api/Topical/GetFollowTopicOfSubscriber" //获取某个用户所关注的主题

#define HTTP_GET_GetList @"/api/Notify/GetList" //获取消息列表
#define HTTP_GET_GetMyFavorites @"/api/Article/GetMyFavorites" //获取我的收藏
#define HTTP_POST_UpdateGender @"/api/Subscriber/UpdateGender" //更新性别
#define HTTP_GET_GetSubscriberWalletSummary @"/api/Wallet/GetSubscriberWalletSummary" //获取钱包概要信息
#define HTTP_GET_GetWalletFlow @"/api/WalletFlow/GetWalletFlow" //获取钱包流水
#define HTTP_POST_UpdateHeadpic @"/api/Subscriber/UpdateHeadpic" //更新头像
#define HTTP_GET_GetTotalCoinOfRewarded @"/api/Wallet/GetTotalCoinOfRewarded" //获取已奖奖励总数，已奖励总额 = 币上限 - 余额,此规则以后可能会调整，但不大
#define HTTP_GET_GetYesterdayTopList @"/api/Wallet/GetYesterdayTopList" //获取昨日虚拟币排行
#define HTTP_GET_GetTotalTopList @"/api/Wallet/GetTotalTopList" //获取总虚拟币排行
#define HTTP_GET_GetMyTotalTopList @"/api/Wallet/GetMyTotalTopList" //获取我总的虚拟币排行
#define HTTP_POST_GetCash @"/api/Wallet/GetCash" //提现


#pragma mark --- H5
#define baseH5Url @"http://h5.shuailiao.net/"

#define H5_report @"report" //举报
#define H5_help @"help" //帮助中心
#define H5_about @"about" //关于我们
#define H5_feedback @"feedback" //意见反馈
#define H5_MyPost  @"mypost" //我的文章
#define H5_MyTopic @"mytopic" //我的主题
#define H5_ArticleCheck @"articlecheck" //文章审核
#define H5_NewArticle @"newarticle" //发布文章
//赚钱攻略
#define H5_Guide @"guide/b"

#endif /* NHTTPDefine_h */
